package com.zhuang.chapter08.work01;

public class Teacher extends BasicInfo {
	private String department;
	private String job;
	private double salary;

	public Teacher(int id, String name, String gender, String birthday) {
		super(id, name, gender, birthday);
	}

	public Teacher(int id, String name, String gender, String birthday, String department, String job, double salary) {
		super(id, name, gender, birthday);
		this.department = department;
		this.job = job;
		this.salary = salary;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public double getSalary() {
		return salary;
	}

	public void setSalary(double salary) {
		this.salary = salary;
	}

	public void show() {
		System.out.println("编号：" + super.getId() + "，姓名：" + super.getName() + "，性别：" + super.getGender() + "，出生日期："
				+ super.getBirthday() + "，部门名称：" + department + "，职称：" + job + "，薪水：" + salary);
	}

}
